/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.progin.drop.core;

import java.io.File;
import java.io.FileOutputStream;

/**
 *
 * @author HP
 */
public abstract class OverflowHandler {
    protected File mTargetFile = null;
    protected FileOutputStream mStream = null;

    public File getTargetFile() {
        return mTargetFile;
    }

    public abstract void beforeSave();
    public abstract void save(byte[] b , int count);
    public abstract void afterSave();
    public abstract void recoverError();
}
